User
This module provides methods to interact with and retrieve information about the connected user. Users can manage their presence, update personal information, retrieve contact suggestions, and perform various actions related to their account.
Properties
Retrieves the user login stored in the cache, if available.
Retrieves the user password stored in the cache, if available.
Retrieves the user token stored in the cache, if available. This token can be used with Connection.signInWithToken.
Functions
Changes the password of the logged-in user.
Deletes the photo of the connected user.
Deletes the connected user. Be careful, you will not be able to use this account anymore.
Retrieves the current list of Country objects supported by Rainbow.
Retrieves company contact suggestions grouped by category. The callback returns a Map<ContactSuggestionType, List<IRainbowContact>>.
Retrieves the connected IRainbowContact object. If the user is not connected, an empty object is returned.
Retrieves the custom data of the connected user as a JSONObject.
Retrieves the profiles of the connected user.
Retrieves company contact suggestions. To retrieve more than 50 suggestions, use getAdvancedSuggestions with an offset parameter.
Retrieves the custom data of the connected user's company as a JSONObject.
Finalizes user password reinitialization. This method serves as the concluding step following the user password reinitialization initiated via startResetPassword.
Facilitates user registration within the Rainbow environment, a two-step process:
Finalizes a user's registration within the Rainbow environment. This method serves as the concluding step following the user registration initiation via selfRegisterByEmail.
Changes the presence of the connected user.
Facilitates user password reinitialization, a two-step process:
Updates the photo of the connected user by providing a File object.
Updates the connected user using the UpdateUserRequest.Builder for construction.